<%@ page import="java.util.Date" %><%--
  Created by IntelliJ IDEA.
  User: Tolean
  Date: 2018/5/21
  Time: 19:13
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Lyon-Admin</title>
    <%@include file="common/head.jspf"%>
    <link rel="Shortcut Icon" href="${lyon}/static/images/favicon.ico"  />
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
    <link rel="stylesheet" href="${lyon}/interface/admin/common/layui/css/font.css">
    <link rel="stylesheet" href="${lyon}/interface/admin/common/layui/css/xadmin.css">
    <script type="text/javascript" src="${lyon}/static/assets/js/jquery.min.js"></script>
    <script src="${lyon}/interface/admin/common/layui/lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="${lyon}/interface/admin/common/layui/js/xadmin.js"></script>
</head>
<body>
<div class="x-body layui-anim layui-anim-up">
    <blockquote class="layui-elem-quote">欢迎管理员：
        <span class="x-red">${currentUser.username}</span>！当前时间:<%= new Date().toString()%></blockquote>
    <fieldset class="layui-elem-field">
        <legend>数据统计</legend>
        <div class="layui-field-box">
            <div class="layui-col-md12">
                <div class="layui-card">
                    <div class="layui-card-body">
                        <div class="layui-carousel x-admin-carousel x-admin-backlog" lay-anim="" lay-indicator="inside" lay-arrow="none" style="width: 100%; height: 90px;">
                            <div carousel-item="">
                                <ul class="layui-row layui-col-space10 layui-this">
                                    <li class="layui-col-xs2">
                                        <a _href="${lyon}/admin/blogTypeList.html" class="x-admin-backlog-body">
                                            <h3>博客分类数量</h3>
                                            <p>
                                                <cite>${blogTypeCount}</cite></p>
                                        </a>
                                    </li>
                                    <li class="layui-col-xs2">
                                        <a _href="${lyon}/admin/blogList.html" class="x-admin-backlog-body">
                                            <h3>博客数量</h3>
                                            <p>
                                                <cite>${blogCount}</cite></p>
                                        </a>
                                    </li>
                                    <li class="layui-col-xs2">
                                        <a _href="${lyon}/admin/quotationsList.html" class="x-admin-backlog-body">
                                            <h3>语录数量</h3>
                                            <p>
                                                <cite>${quotationsCount}</cite></p>
                                        </a>
                                    </li>
                                    <li class="layui-col-xs2">
                                        <a _href="${lyon}/admin/albumsList.html" class="x-admin-backlog-body">
                                            <h3>图片数量</h3>
                                            <p>
                                                <cite>${albumsCount}</cite></p>
                                        </a>
                                    </li>
                                    <li class="layui-col-xs2">
                                        <a _href="${lyon}/admin/contactMsgList.html" class="x-admin-backlog-body">
                                            <h3>消息数量</h3>
                                            <p>
                                                <cite>${contactMsgCount}</cite></p>
                                        </a>
                                    </li>

                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </fieldset>
    <fieldset class="layui-elem-field">
        <legend>系统通知</legend>
        <div class="layui-field-box">
            <table class="layui-table" lay-skin="line">
                <tbody>
                <tr>
                    <td >
                        <a class="x-a" href="/" target="_blank">-------</a>
                    </td>
                </tr>
                <tr>
                    <td >
                        <a class="x-a" href="/" target="_blank">-------</a>
                    </td>
                </tr>
                </tbody>
            </table>
        </div>
    </fieldset>
    <fieldset class="layui-elem-field">
        <legend>系统信息</legend>
        <div class="layui-field-box">
            <table class="layui-table">
                <tbody>
                <tr>
                    <th>网站版本</th>
                    <td>1.0.0</td></tr>
                <tr>
                    <th>服务器地址</th>
                    <td>www.lyonz.cn</td></tr>
                <tr>
                    <th>操作系统</th>
                    <td>Centos</td></tr>
                <tr>
                    <th>运行环境</th>
                    <td>Tomcata </td></tr>
                <tr>
                    <th>Java版本</th>
                    <td>5.6.27</td></tr>
                <tr>
                    <th>MYSQL版本</th>
                    <td>5.5.53</td></tr>
                </tbody>
            </table>
        </div>
    </fieldset>
</div>
</body>
</html>